package ru.spbu.math.seabattle.server.messages;

import java.io.Serializable;

import ru.spbu.math.seabattle.entity.PlayerID;

public class AcceptGameRequestMessage implements Serializable {

	private static final long serialVersionUID = 1L;

	private final PlayerID playerId;
	private final PlayerID opponentId;
	
	public AcceptGameRequestMessage(PlayerID opponentId, PlayerID playerId) {
		this.opponentId = opponentId;
		this.playerId = playerId;
	}

	public PlayerID getPlayerId() {
		return playerId;
	}

	public PlayerID getOpponentId() {
		return opponentId;
	}
}
